package com.atguigu.eduservice.service;

import com.atguigu.eduservice.entity.EduTeacher;
import com.atguigu.eduservice.entity.vo.TeacherQueryVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author Panghl
 * @since 2020-12-25
 */
public interface TeacherService extends IService<EduTeacher> {

  /**
   * 根据id查询教师
   * @param id
   * @return
   */
  public EduTeacher get(String id);

  /**
   * 教师带条件的分页查询
   * @param current
   * @param limit
   * @param teacherQueryVo
   * @return
   */
  public Map<String, Object> page(Long current, Long limit, TeacherQueryVo teacherQueryVo);

  /**
   * 前台教师信息分页
   * @param page
   * @param limit
   * @return
   */
  Map<String, Object> getTeacherFrontList(long page, long limit);
}
